package com.example.lishop

import com.example.lishop.util.updown.FileStorageProperties
import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.boot.runApplication
import springfox.documentation.swagger2.annotations.EnableSwagger2

//@MapperScan("com.example.lishop.mapper")
@SpringBootApplication
@EnableSwagger2
@EnableConfigurationProperties(FileStorageProperties::class)
class LishopApplication

fun main(args: Array<String>) {
    runApplication<LishopApplication>(*args)
}
